import { createApp } from 'vue'
import App from './App.vue'
import { VueMasonryPlugin } from 'vue-masonry';
// 初始化样式引入
import '@/styles/reset.css'
import '@/styles/index.css'

// 引入引入rem适配的代码
import 'amfe-flexible'

// 引入路由
import router from '@/router/index'

// 引入pinia
import { createPinia } from 'pinia'
const pinia = createPinia()


import { List } from 'vant';


// 公共组件
import components from './components'


const app = createApp(App)
app.use(router).use(VueMasonryPlugin).use(List).use(pinia).use(components).mount('#app')
